Skip to content
This repository has been archived by the owner on Oct 4, 2021. It is now read-only.

Bug 512 - Autosave open files when committing. #328

Merged
merged 2 commits into from
Jul 11, 2013
Merged

Bug 512 - Autosave open files when committing. #328

merged 2 commits into from
Jul 11, 2013

Conversation

Therzok
Copy link
Contributor

@Therzok Therzok commented Jul 8, 2013

I've added a dialog for asking the user what to do with unsaved files.

In case we have open documents, ask the user if he wants to cancel the commit
operation, save the files or ignore local changes.

I've added a dialog for asking the user what to do with unsaved files.

In case we have open documents, ask the user if he wants to cancel the commit
operation, save the files or ignore local changes.
if (docList.Count != 0) {
AlertButton response = MessageService.GenericAlert (
MonoDevelop.Ide.Gui.Stock.Question,
GettextCatalog.GetString ("Files has unsaved changes"),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's use the following message: "You are trying to commit files which have unsaved changes. Do you want to save the changes before committing?"

slluis added a commit that referenced this pull request Jul 11, 2013
Bug 512 - Autosave open files when committing.
@slluis slluis merged commit a92bfa0 into master Jul 11, 2013
Therzok pushed a commit that referenced this pull request Mar 25, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants